class {

  onCreate() {
    this.state = {
      html: "<input type='text' name='test' value='x' />"
    }
  }
}

<div>$!{state.html}</div>
